cmake_minimum_required(VERSION 3.14)
project(Algorithm)
set(CMAKE_CXX_STANDARD 14)
find_package(OpenCV REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})
add_subdirectory(Controller)
add_subdirectory(Background_estimation)
add_subdirectory(MeanShift)
add_subdirectory(Saliency)
add_subdirectory(Watershed)
add_subdirectory(KNN)
add_subdirectory(SingleTracker)
add_subdirectory(Night_Mode)
add_subdirectory(Fourier_transform)
add_subdirectory(CannyDetect)
add_subdirectory(NMS)
add_subdirectory(HoughDetect)
add_executable(Algorithm main.cpp)
target_link_libraries(Algorithm ${OpenCV_LIBS})
target_link_libraries(Algorithm Controller)

